package gq.example.service;

import gq.example.dto.FeedbackDto;
import gq.example.dto.FeedbackPageQueryDto;
import gq.example.entity.Feedback;
import gq.example.result.PageResult;
import gq.example.result.Result;
import gq.example.vo.CommunicationVo;

import java.util.List;

public interface FeedbackService {

    PageResult pageQuery(FeedbackPageQueryDto feedbackPageQueryDto);

    void addFeedback(FeedbackDto feedbackDto);

    Integer countReplies(Long createUser);

    Integer countProbe(Long createUser, Integer sectorId);

    List<CommunicationVo> viewReply(Integer questionId, Long createUser);

    boolean isArchived(Integer questionId);
}
